<template>
  <a-modal
    width="34%"
    title="申请人详情"
    :visible="isModal"
    :footer="null"
    forceRender
    destroyOnClose
    @cancel="isModal = false"
  >
    <PersonDetails v-if="applyid" :applyid=applyid />
  </a-modal>
</template>
<script>
export default {
  data() {
    return {
      applyid: null,
      isModal: false,
    }
  },
  created() {},
  methods: {
    // 父组件调用显示
    f_init(applyid) {
      console.log('applyid', applyid)
      this.applyid = applyid
      this.isModal = true
    },
  },

  components: {
    PersonDetails: () => import('@/views/accept/component/PersonDetails.vue'),
  },
}
</script>

<style lang="scss" scoped>
</style>
